package com.github.rnewson.couchdb.lucene.urlrewrite;

import java.io.*;

import javax.servlet.jsp.*;
public class ContextPageWriter extends JspWriter {
     private PrintWriter pw;
     public ContextPageWriter(String fileName){
         super(JspWriter.DEFAULT_BUFFER, false);
         try{
             pw = new PrintWriter(fileName, "UTF-8");
         }catch(Exception e){
             e.printStackTrace();
         }
     }   
     @Override
     public void print(String arg0) throws IOException {   
         pw.print(arg0);
     }
     
     @Override
     public void println() throws IOException {
         pw.println();
     }
     @Override
     public void println(Object arg0) throws IOException {
         pw.println(arg0);
     }
      
     @Override
     public void write(char[] arg0, int arg1, int arg2) throws IOException {
         pw.write(arg0, arg1, arg2);
     }
	@Override
	public void clear() throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void clearBuffer() throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void close() throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void flush() throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public int getRemaining() {
		// TODO Auto-generated method stub
		return 0;
	}
	@Override
	public void newLine() throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void print(boolean arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void print(char arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void print(int arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void print(long arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void print(float arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void print(double arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void print(char[] arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void print(Object arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void println(boolean arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void println(char arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void println(int arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void println(long arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void println(float arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void println(double arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void println(char[] arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void println(String arg0) throws IOException {
		// TODO Auto-generated method stub
		
	}
}